<?php

namespace App\Admin\Extensions\Tools;

use Encore\Admin\Grid\Tools\BatchAction;

class Duanxin extends BatchAction
{

    public function script()
    {
            return <<<EOT

$('{$this->getElementClass()}').on('click', function() {

        $("#duanxinid").val(selectedRows());
        $("#zidingyi").hide();
        $("#duanxin").click();
});

EOT;
    }
}